package cn.wolfcode.crm.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;
@Getter@Setter
public class Menu {

    //动态菜单id
    private Long id;

    //动态菜单名
    private String text;

    //动态菜单url
    private String url;

    //父菜单
    private Menu parent;

    //图标
    private String icon;

    //关联的权限
    private Permission permission;

    //子菜单
    private List<Menu> children = new ArrayList<>();
}